<%-- 
    Document   : header
    Created on : Feb 11, 2012, 10:58:07 AM
    Author     : Doodles
--%>
<% if (request.getAttribute("title") == null) {
   request.setAttribute("title", "Store");    
}%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>${title}</title>
        <link type="text/css" href="template/css/ui-lightness/jquery-ui-1.8.17.custom.css" rel="stylesheet" />	
        <link type="text/css" href="template/css/validator.css" rel="stylesheet" />	
        <link type="text/css" href="template/css/styles.css" rel="stylesheet" />
        <script type="text/javascript" src="template/js/jquery-1.7.1.min.js"></script>
        <script type="text/javascript" src="template/js/jquery-ui-1.8.17.custom.min.js"></script>
        <script type="text/javascript" src="template/js/jquery.validate.js"></script>
        <script type="text/javascript">
            $(function(){

                // Datepicker
                $('.birthdate').datepicker({
                    showOn: "button",
                    buttonImage: "template/images/calendar.gif",
                    buttonImageOnly: true,
                    inline: true,
                    dateFormat: 'yy-mm-dd',
                    changeYear: true,
                    changeMonth: true,
                    autoSize: true,
                    yearRange: '1950:2012'
                });
                        
                $('#register-form').attr('autocomplete','off');
                        
            });
                
            function reload() {
                location.href=location.href;
            }
                
        </script>
    </head>
    <body>
        <div class="wrapper">
            <% if (session.getAttribute("message") != null) {%>
            <div class="message">
                <%= session.getAttribute("message")%>
            </div>
            <% }
                session.removeAttribute("message");
            %>